from django.contrib import admin
from django.urls import path
from django.urls import path, include

from hrchat import views

urlpatterns = [
 # path('admin/', admin.site.urls),
 # ⽤户模块的URL模式
    path("", views.ChatSessionListCreate.as_view(), name="chat-list"),
    path("<int:pk>/messages/", views.MessageList.as_view(), name="msg-list"),
    path("<int:pk>/messages/send/", views.MessageCreate.as_view(), name="msg-create"),

]